package com.example.multilevelapprovalback.service.impl;

import com.example.multilevelapprovalback.mapper.ApprovalResultMapper;
import com.example.multilevelapprovalback.pojo.ApprovalResult;
import com.example.multilevelapprovalback.service.ApprovalResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApprovalResultImpl implements ApprovalResultService {

    @Autowired
    private ApprovalResultMapper approvalResultMapper;

    @Override
    public Object get() {
        List<ApprovalResult> list = approvalResultMapper.get();
        return list;
    }
}
